import { HttpResponseData, httpData } from '@/utils/types';
import { get, post } from '@/utils/request';

/**
 * 托架入库
 */
/**
 * 分页
 */
export function getList(data?: httpData) {
    return get('/app/bracket/storage/list', data);
}

/**
 * 删除托架
 */
export function deleteBatch(data?: httpData) {
    return post('/app/bracket/storage/deleteBatch', data);
}
/**
 * 新增
 */
export function saveDocument(data?: httpData) {
    return post('/app/bracket/storage/save', data);
}

/**
 * 扫码
 */
export function scan(data?: httpData) {
    return get('/app/bracket/storage/scanIn', data);
}

export function scanOut(data?: httpData) {
    return get('/app/bracket/storage/scan', data);
}

/**
 * 提交
 */
export function submit(data?: httpData) {
    return post('/app/bracket/storage/submit', data);
}
